<!-- 
<div class="slider-wrapper theme-default">
        <div id="slider" class="nivoSlider">
                <img src="images/slider.jpg" data-thumb="images/slider.jpg" alt="" />
                <img src="images/slider2.jpg" data-thumb="images/slider2.jpg" alt="" />
                
        </div>
</div>
-->

<ul class="bxslider">
    <?
    $sqlrr = $db->select("select * from banner order by orderId, id asc");
    while ($rr = $db->fetch($sqlrr)) :
        /*
        if ($rr['linkto'] != "")
            echo '<a href="' . $rr['linkto'] . '" target="_blank" > ';
        ?>
        <img src="<?= APPLICATION_URL ?>banner-img/<?= $rr['image' . $hg] ?>" border="0" />
        <?
        if ($rr['linkto'] != "")
            echo '</a>';
         
        
    }*/
    ?>	
    
    
    <li><img src="<?= APPLICATION_URL ?>banner-img/<?= $rr['image'] ?>" border="0" data-thumb="images/slider2.jpg" alt="" /></li>

    <?php endwhile; ?>
</ul>